package com.sftz.modules.minapp.seriesCouresDetail.dto;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Id;

import com.uxuexi.core.common.util.DateTimeUtil;

@Data
public class Course implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id(auto = true)
	private Integer id;

	@Column
	@Comment("创建者id")
	private Integer createBy;

	@Column
	@Comment("课程名称")
	private String courseName;

	@Column
	@Comment("课程状态")
	private Integer courseState;

	@Column
	@Comment("审核状态")
	private Integer examineState;

	@Column
	@Comment("创建时间")
	private Date createDate = DateTimeUtil.nowDate();

	@Column
	@Comment("发布时间")
	private Date releaseDate;

	@Column
	@Comment("课程标题")
	private String courseTitle;

	@Column
	@Comment("课程封面")
	private String picture;

	@Column
	@Comment("是否收费")
	private Integer charge;

	@Column
	@Comment("原价")
	private Double originalPrice;

	@Column
	@Comment("实际价格")
	private Double actualPrice;

	@Column
	@Comment("课程简介")
	private String courseIntroduction;

	@Column
	@Comment("课程详情")
	private String courseDetails;

	@Column
	@Comment("知识结构图")
	private String knowledgePicture;

	@Column
	@Comment("课程类型（个人课程，机构课程）")
	private Integer courseType;

	@Column
	@Comment("点赞总人数")
	private Integer likeCount;

	@Column
	@Comment("学评论总人数")
	private Integer commentCount;

	@Column
	@Comment("学习人数")
	private Integer studyCount;

	private String className;
	private Integer score;
	@Column
	@Comment("机构课程类型（1学历课程，2非学历课程）")
	private Integer insCourseType;

}
